package com.pz.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pz.gulimall.common.utils.PageUtils;
import com.pz.gulimall.product.entity.AttrGroupEntity;
import com.pz.gulimall.product.vo.res.AttrGroupWithAttrsResVo;
import com.pz.gulimall.product.vo.res.SpuItemAttrGroup;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author PZ
 * @email pzs@gmail.com
 * @date 2024-02-01 20:22:28
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<AttrGroupWithAttrsResVo> getAttrGroupWithAttrByCatId(Long catelogId);

    List<SpuItemAttrGroup> getProductBaseAttr(Long catalogId, Long spuId);
}

